<?php if (!defined('THINK_PATH')) exit();?><form method="post" action="__URL__/setpay/?action=fpay&order=<?php echo ($order["order_id"]); ?>">
<table border="0" width="100%" id="table1">
	<tr>
		<td align="right">支付方式：</td>
		<td>
		<select size="1" name="payment">
<?php if(is_array($payment)): $i = 0; $__LIST__ = $payment;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$pay): $mod = ($i % 2 );++$i; if($pay[id] == $order[payment]): ?><option value="<?php echo ($pay["id"]); ?>" selected><?php echo ($pay["pay_name"]); ?></option>
<?php else: ?>
			<option value="<?php echo ($pay["id"]); ?>"><?php echo ($pay["pay_name"]); ?></option><?php endif; endforeach; endif; else: echo "" ;endif; ?>
		</select>
        </td>
	</tr>
	<tr>
		<td align="right">订单金额：</td>
		<td>￥<?php echo ($order["final_money"]); ?></td>
	</tr>
	<tr>
		<td align="right">已支付金额：</td>
		<td>￥<?php echo ($order["payed"]); ?></td>
	</tr>
	<tr>
		<td align="right">待支付金额：</td>
		<td><input type="text" name="money" size="20" value="<?php echo ($order["npay"]); ?>"></td>
	</tr>
	<tr>
		<td>　</td>
		<td>　</td>
	</tr>
	<tr>
		<td colspan="2" align="center">
<?php if($order["npay"] > 0): ?><input type="submit" value="完成支付" onclick="javascript:return confirm('你真的要付款吗？')"  name="B1"><?php endif; ?>
		</td>
	</tr>
</table>
</form>